package com.gxgy.service;

import java.util.List;

import org.springframework.ui.Model;

import com.gxgy.entity.Book;

public interface BookSerivce {
	
	Integer addBook(String bookName,String bookType,String bookAuthor,
			String bookDescribe,String enerateTime,Model model);
	
	List<Book> queryAllBook();
	
	Book queryBookById(String id,Model model);
	
	Integer updateBook(String id, String bookName,String bookType,String bookAuthor,
			String bookDescribe,String enerateTime,Model model);

}
